package com.juma.cartridge.rlock.exception;

/**
 * 锁已存在异常
 * @ClassName LockAlreadyExistsException
 * @Description
 * @Author zhuangguangyou
 * @Date 2019年10月28日 下午4:33:55
 * @Version 1.0
 *
 */
@SuppressWarnings("serial")
public class LockAlreadyExistsException extends LockException {

    private String key;
	
	public LockAlreadyExistsException(String key) {
	    super("锁已存在[lock.key="+key+"]");
		this.key = key;
	}

	public String getKey() {
	    return this.key;
	}
	
}
